Looking at the log it looks as though your sony controller is still connected - Kodi does crash with ps3 controllers. Please format logs/code in code blocks when posting - https://retropie.org.uk/forum/topic/3/read-this-first
I don't have sony controller a Sony controller or a PS3 controller.
I tried to remove/clear any configuration file that recall sony controller but with no success.
Anyway I solved with a clean installation of retropie. ES recognizes just my two controllers (logitech gamepad and keyboard), Kodi works great.
Thanks anyway